//自动类型推导
#include<iostream>
typedef double wages;
typedef wages base,*p;



int main()
{
    wages wage = 10.2;
    p wage_ptr = &wage;
    std::cout<<*wage_ptr<<std::endl;
    std::cout<<wage_ptr<<std::endl;
}